package com.bitao.friend.service.user;

import com.bitao.R;
import com.bitao.friend.domain.user.dto.UserDTO;
import com.bitao.sysuser.LoginUserVO;
import com.bitao.friend.domain.user.dto.UserUpdateDTO;
import com.bitao.friend.domain.user.vo.UserVO;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2025-06-04  11:59
 */
public interface IUserService {
    boolean sendCode(UserDTO userDTO);

    String codeLogin(String phone, String code);

    boolean logout(String token);

    R<LoginUserVO> info(String token);

    UserVO detail();

    int edit(UserUpdateDTO userUpdateDTO);

    int updateHeadImage(String headImage);
}
